﻿using System.Linq.Expressions;
using WebApplication1.Core.Domain.Entities;

namespace WebApplication1.Core.Domain.RepositoryContracts {
    public interface ISheQuRepository {

        public Task<SheQu?> GetSheQuBySheQuID(ushort shequID);
        public Task<IEnumerable<SheQu>> GetAllSheQu();
        public Task<IEnumerable<SheQu>> GetFilteredSheQu(Expression<Func<SheQu, bool>> expression);

        public Task<SheQu> AddSheQu(SheQu sheQu);

        public Task<bool> UpdateSheQu(SheQu sheQu);

        public Task<bool> DeleteSheQu(ushort shequID);
    }
}
